package com.ityueqiangu.project.exhibitionInfo.service;

import java.util.List;
import com.ityueqiangu.project.exhibitionInfo.domain.ExhibitionInfo;

/**
 * @author Clever、xia
 * @title: ExhibitionInfoService
 * @description:
 * @date 2021-03-15 09:58:50
 */
public interface IExhibitionInfoService {

    /**
     * 查询所有记录
     *
     * @return list集合
     */
    List<ExhibitionInfo> selectExhibitionInfoList(ExhibitionInfo exhibitionInfo);


    /**
     * 根据主键查询
     *
     * @param id 主键
     * @return 返回ExhibitionInfo
     */
    ExhibitionInfo selectExhibitionInfoById(Integer id);
	
    /**
     * 新增
     *
     * @param exhibitionInfo 新增的记录
     * @return 返回ResultInfo
     */
    Integer insertExhibitionInfo(ExhibitionInfo exhibitionInfo);
	
	
    /**
     * 修改，修改所有字段
     *
     * @param exhibitionInfo 修改的记录
     * @return 返回ResultInfo
     */
    Integer updateExhibitionInfo(ExhibitionInfo exhibitionInfo);
	
    /**
     * 删除记录
     *
     * @param id 主键
     * @return 返回ResultInfo
     */
    Integer deleteExhibitionInfoById(Integer id);

    /**
     * 判断展览名称是否存在
     * @param exhibitionInfo
     * @return
     */
    ExhibitionInfo existExhibitionName(ExhibitionInfo exhibitionInfo);

    Integer appoint(ExhibitionInfo exhibitionInfo);
}